﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace tp
{
    public partial class Site1 : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void ibxiugaimm_Click1(object sender, ImageClickEventArgs e)
        {
            Response.Write("<script>alert('进入修改密码界面！'); location.href = '/zhuce.aspx';</script>");
        }
        protected void ibzhuxiao_Click1(object sender, ImageClickEventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["Userguanli"] != null)
                {
                    Session.Remove("Userguanli");
                    Response.Write("<script>alert('注销成功!'); location.href = '/index.aspx';</script>");
                }
                else
                {
                    Response.Write("<script>alert('注销成功!'); location.href = '/index.aspx';</script>");
                }
            }
        }

    }
}